package club.haomoon.boss.crontab.exceution;

import club.haomoon.boss.crontab.CronExpression;
import club.haomoon.core.entity.system.CrontabData;
import org.quartz.JobExecutionContext;

/**
 * 允许并发任务
 */
public class QuartzJobExecution extends AbstractQuartzJob {

    @Override
    protected void doExecute(JobExecutionContext context, CrontabData crontab) throws Exception {
        CronExpression.invokeMethod(crontab);
    }

}
